<div style="clear: both;"></div>

<div id="vj_box_190_co">
    <?php $this->widget('WidgetLocations'); ?>
    <?php $this->widget('WidgetSmallShopTypical'); ?>
</div>
<div id="vj_box_760_co">
    <h3> Các rao vặt mới nhất <?php echo $location != '' ? 'ở ' . $location : "" ?></h3>

    <?php $this->widget('zii.widgets.grid.CGridView', array(
        'id' => 'product-grid',
        'enableSorting' => false,
        'dataProvider' => $model,
        'ajaxUpdate' => false,
        'columns' => array(
            array('name' => 'image_id', 'value' => '$data->getPictureHtml()', 'type' => 'raw'),
            array('name' => 'product_name', 'value' => '$data->getNameHtmlForGrid()', 'type' => 'raw'),
            array('name' => 'price', 'value' => '$data->getPrice()'),
            array('name' => 'location', 'value' => '$data->getLocation()'),
        ),
    )); ?>
</div>
